package com.legoo.studaychineseonline.bean;

import java.util.List;

public class ListBean {

    /**
     * code : 0
     * message : success
     * tag :
     * data : {"course_list":[{"name_zh":"庄子","id":"5c9c7132edf329165c7bf8d5","difficulty":{"name_zh":"相当于小学三年级","name_en":"school 3","id":"5c9b49a1edf32948a545fc62"},"category":{"name_zh":"二级分类三","name_en":"class BA","id":"5c99de46edf329a37c750fc5"},"title_image":"pic/course/20190328/aa2aed3e-5127-11e9-9289-309c23d6f138.png","parent":{"name_zh":"分类二","name_en":"class B","id":"5c947dd6edf3294b240cb3dd"},"name_en":"zhuangzi","type":"xiaoban"},{"name_zh":"论语","id":"5cac59a8edf3293b9ce4ac22","difficulty":{"name_zh":"相当于小学三年级","name_en":"school 3","id":"5c9b49a1edf32948a545fc62"},"category":{"name_zh":"二级分类三","name_en":"class BA","id":"5c99de46edf329a37c750fc5"},"title_image":"pic/xiaoban/20190409/3b399724-5aa3-11e9-a355-309c23d6f138.jpeg","parent":{"name_zh":"分类二","name_en":"class B","id":"5c947dd6edf3294b240cb3dd"},"name_en":"lunyu","type":"xiaoban"}]}
     */

    private int code;
    private String message;
    private String tag;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<CourseListBean> course_list;

        public List<CourseListBean> getCourse_list() {
            return course_list;
        }

        public void setCourse_list(List<CourseListBean> course_list) {
            this.course_list = course_list;
        }

        public static class CourseListBean {
            /**
             * name_zh : 庄子
             * id : 5c9c7132edf329165c7bf8d5
             * difficulty : {"name_zh":"相当于小学三年级","name_en":"school 3","id":"5c9b49a1edf32948a545fc62"}
             * category : {"name_zh":"二级分类三","name_en":"class BA","id":"5c99de46edf329a37c750fc5"}
             * title_image : pic/course/20190328/aa2aed3e-5127-11e9-9289-309c23d6f138.png
             * parent : {"name_zh":"分类二","name_en":"class B","id":"5c947dd6edf3294b240cb3dd"}
             * name_en : zhuangzi
             * type : xiaoban
             */

            private String name_zh;
            private String id;
            private DifficultyBean difficulty;
            private CategoryBean category;
            private String title_image;
            private ParentBean parent;
            private String name_en;
            private String type;

            public String getName_zh() {
                return name_zh;
            }

            public void setName_zh(String name_zh) {
                this.name_zh = name_zh;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public DifficultyBean getDifficulty() {
                return difficulty;
            }

            public void setDifficulty(DifficultyBean difficulty) {
                this.difficulty = difficulty;
            }

            public CategoryBean getCategory() {
                return category;
            }

            public void setCategory(CategoryBean category) {
                this.category = category;
            }

            public String getTitle_image() {
                return title_image;
            }

            public void setTitle_image(String title_image) {
                this.title_image = title_image;
            }

            public ParentBean getParent() {
                return parent;
            }

            public void setParent(ParentBean parent) {
                this.parent = parent;
            }

            public String getName_en() {
                return name_en;
            }

            public void setName_en(String name_en) {
                this.name_en = name_en;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public static class DifficultyBean {
                /**
                 * name_zh : 相当于小学三年级
                 * name_en : school 3
                 * id : 5c9b49a1edf32948a545fc62
                 */

                private String name_zh;
                private String name_en;
                private String id;

                public String getName_zh() {
                    return name_zh;
                }

                public void setName_zh(String name_zh) {
                    this.name_zh = name_zh;
                }

                public String getName_en() {
                    return name_en;
                }

                public void setName_en(String name_en) {
                    this.name_en = name_en;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }
            }

            public static class CategoryBean {
                /**
                 * name_zh : 二级分类三
                 * name_en : class BA
                 * id : 5c99de46edf329a37c750fc5
                 */

                private String name_zh;
                private String name_en;
                private String id;

                public String getName_zh() {
                    return name_zh;
                }

                public void setName_zh(String name_zh) {
                    this.name_zh = name_zh;
                }

                public String getName_en() {
                    return name_en;
                }

                public void setName_en(String name_en) {
                    this.name_en = name_en;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }
            }

            public static class ParentBean {
                /**
                 * name_zh : 分类二
                 * name_en : class B
                 * id : 5c947dd6edf3294b240cb3dd
                 */

                private String name_zh;
                private String name_en;
                private String id;

                public String getName_zh() {
                    return name_zh;
                }

                public void setName_zh(String name_zh) {
                    this.name_zh = name_zh;
                }

                public String getName_en() {
                    return name_en;
                }

                public void setName_en(String name_en) {
                    this.name_en = name_en;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }
            }
        }
    }
}
